<!DOCTYPE html>
<html lang="cs">
<head>
        <title>Nastavení</title>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />
        <meta name="generator" content="Geany 0.20" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script> 

<script type="text/javascript">
function savePreferences () {
        localStorage.setItem("class", $("#class option:selected").val());
        localStorage.setItem("days", $("#days").val());
}

$(document).ready(function () {
        $("form").submit(function () {
                savePreferences();
                return false;
        });
});
</script>
</head>
<body>
        <h1>SPŠ Reminder - Nastavení</h1>
        <form>
                <table>
                        <tr>
                                <th><label for="class">Třída:</label></th>
                                <td>
                                        <select id="class">
                                                <option>1La</option>
                                                <option>1Lb</option>
                                                <option>1N</option>
                                                <option>1P</option>
                                                <option>1S</option>
                                                <option>1KM</option>
                                                <option>1Tr</option>
                                                <option>1TZ</option>
                                                <option>2La</option>
                                                <option>2Lb</option>
                                                <option>2N</option>
                                                <option>2P</option>
                                                <option>2Sa</option>
                                                <option>2Sb</option>
                                                <option>2MTr</option>
                                                <option>2TZ</option>
                                                <option>3La</option>
                                                <option>3Lb</option>
                                                <option>3P</option>
                                                <option>3Sa</option>
                                                <option>3Sb</option>
                                                <option>3Tr</option>
                                                <option>3TZ</option>
                                                <option>4La</option>
                                                <option>4Lb</option>
                                                <option>4P</option>
                                                <option>4Sa</option>
                                                <option>4Sb</option>
                                                <option>SPH/b</option>
                                                <option>SPH/f</option>
                                                <option>SPH/v</option>
                                                <option>SPH/p</option>
                                                <option>SPH/g</option>
                                                <option>R</option>
                                                <option>ATE</option>
                                                <option>1E</option>
                                                <option>2E</option>
                                                <option>3E</option>
                                        </select>
                                </td>
                        </tr>
                        <tr>
                                <th><label for="days">Poč. dní dopředu:</label></th>
                                <td><input type="text" id="days" /></td>
                        </tr>
                </table>
                <input type="submit" value="Uložit" />
        </form>
</body>
</html>
